/*
 * Copyright (c) 2015. kupat Corporation. All rights reserved.
 *  see statement on http://www.kupat.cn.
 */
package com.kfgj.hkp.common.components.excel.export;


import com.kfgj.hkp.common.components.excel.exception.NotSupportException;

import java.util.List;

/**
 *
 *<p>Description</p>
 *<p>
 * @see AbstractSyncDataProvider
 *</p>
 *@ClassName: AbstractAsyncDataProvider
 *@author liwensihan
 *@date 2014年8月4日 上午11:11:51
 */
public abstract class AbstractAsyncDataProvider implements IDataProvider {

	@Override
	public List<?> getData() {

		throw new NotSupportException("export of asynchronous should use the method of getData(int startRow, int endRow) which had arguments");
	}

	@Override
	public List<?> getData(int startRow, int endRow, Object param) {
		return null;
	}

	@Override
	public List<?> getData(Object param) {
		return null;
	}

}
